package xfuzzy.alg_genetico.indeterminado.xfghlOld.model;

//import java.io.File;

//import xfuzzy.xfghl.model.spec.XfghlInputType;
//import xfuzzy.xfghl.model.spec.XfghlOperSet;
//import xfuzzy.xfhl.model.XfhlThread;

public class PruebaThread extends Thread {
	
	private int idThread;
	
	public PruebaThread(int idThread)
	{
		this.idThread=idThread;
	}
	
	public void run()
	{
		for(int i=0;i<100000;i++)
		{
			System.out.println("Thread: "+idThread+". It: "+i);
		}
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
				
				
		PruebaThread t1=new PruebaThread(1);
		t1.start();		

		PruebaThread t2=new PruebaThread(2);
		t2.start();
		
		try {
			t1.join();
			System.out.println("termineeeeee");
			
			t2.join();
			System.out.println("termineeeeee222");
			
			System.out.println("FINISH");
			
		} catch (InterruptedException e) {			
			e.printStackTrace();
		}
		
		System.out.println("termineeeeee");
		
	}

}
